package com.qf.serivice;

import com.qf.model.StandardReport;
import com.qf.model.StandardSubmit;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * projectName: sms-platform02
 *
 * @author: 元
 * time: 2021/10/21 0021 15:01
 * description:ES接口
 */
public interface ElasticSearchService {

    public void saveLog(StandardSubmit standardSubmit) throws IOException;

    public void updateLog(StandardReport standardReport) throws IOException;

    public Long searchLogCount(Map parameter) throws IOException;

    public List<Map> searchLog(Map parameter) throws IOException;

    public Map<String,Long> statSendStatus(Map parameter) throws IOException;

    }

